package com.phf.component;

import cn.hutool.extra.spring.SpringUtil;
import com.phf.common.Result;
import com.phf.common.core.annotation.NacosRefreshStaticField;
import com.phf.config.ResultWebConfig;
import org.springframework.stereotype.Component;

@Component
@NacosRefreshStaticField(configPrefix="result")
public class ResultComponent {
    public static Result<?> result = Result.ok("success", SpringUtil.getBean(ResultWebConfig.class).toString());
}
